﻿namespace WoChu.CF.BaseFrame.Json
{
    /// <summary>
    /// JSON 标记.
    /// </summary>
    public abstract class JsonTokens
    {
        public const char START_OBJECT_LITERAL_CHARACTER = '{';
        public const char END_OBJECT_LITERAL_CHARACTER = '}';
        public const char START_ARRAY_CHARACTER = '[';
        public const char END_ARRAY_CHARACTER = ']';
        public const char STRING_DELIMITER = '"';
        public const char ELEMENT_SEPARATOR = ',';
        public const char PAIR_SEPARATOR = ':';
        public const int NULL_VALUE_LENGTH = 4;
        public const char NULL_STRING_START = 'n';
        public static readonly string NULL_STRING = "null";
    }
}
